<?php

namespace app\manage\controller;
use app\common\model\miniapp\MemberMiniapp as AuthorizerModel;
use app\common\model\miniapp\Miniapp as MiniappModel;
use \app\common\model\setting\Setting as SettingModel;
class Index extends Common {

    public function index(){
    	$this->view->engine->layout(false);
    	$SettingModel = new SettingModel;
     	$setting = $SettingModel->fetchAll(true);
     	$agent = $setting['agent'];
        $this->assign('agent',$agent);
        return $this->fetch();
    }
    public function main(){
        header("Location:".url('miniappshop/index'));
        die;
    }

}